/*!
 * Created by OJesusO on 2017/12/12.
 * @description index
 * @last 2017/12/12
 */
html, body {
  height: 100%;
}

body {
  background-color: #f5f5f5;
  font-family: sans-serif;

}

.meta-nav .navbar {
  min-height: 40px;
  height: 40px;
}

.meta-nav .navbar-inverse {
  background-color: #fff;
  border-color: #fff;
  margin-bottom: 10px;
}

.meta-nav .navbar-brand {
  height: 40px;
  padding: 0px;

  margin-left: 20px !important;
  margin-right: 50px !important;
}

.meta-nav .navbar-nav > li > a {
  padding-top: 10px;
}

.meta-nav .navbar-inverse .navbar-nav > li > a {
  font-size: 14px;
  color: #333;
}

.meta-nav .nav > li > a {
  padding: 10px 10px;
}

.img-block {
  height: 44%;
  min-height: 300px;/*500px;*/
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  position: relative;
  margin-bottom: 1%;
}
.img-block .pre-img-block {
  height: 100%;
}

.pre-img-head {
  position: absolute;
  top: 0;
  height: 36px;
  background: linear-gradient(#fff, #C2C2C2);
  border-radius: 6px 6px 0 0;
  /*         box-shadow: 2px 2px 5px #bbb;*/
}

.icon-1 {
  height: 36px;
  vertical-align: middle;
  display: table-cell;
  width: 10000px;
  padding-left: 10px;
}

.icon-2 {
  height: 36px;
  vertical-align: middle;
  display: table-cell;
  padding-right: 10px;
  cursor: pointer;
}

.pre-img-show {
  height: 100%;
  width: 100%;
  padding: 36px 0px 0px 0px;
  text-align: center;
}


.pre-img {
    position: relative;
    height: 100%;
    overflow: hidden;
    background-size: cover;/*contain*/
    /*background-position: 50% 50%;*/
    background-repeat: no-repeat;
    background-color: #fff;
}

.pre-img .container-fluid{
  margin-top: 15%;
}


.pre-img-board{
  position: relative;
    margin-top: -6%;
}

.pre-img-board-bg img{
  display: block;
  width: 60%;
  margin: 0 auto;
}

.pre-img-board-top-d2 img,.pre-img-board-top-d11 img{
  display: block;
  width: 24%;
}

.pre-img-board-top-d2 img{
  position: absolute;
  left: 20%;
  top: -16%;
}

.pre-img-board-top-d11 img{
  position: absolute;
  right: 20%;
  top: -16%;
}

.pre-img-board-top-d10 img{
  display: block;
  width: 10%;
  position: absolute;
  right: 21%;
  top: 1%;
}

.pre-img-board-left-a1 img,.pre-img-board-left-a0 img,.pre-img-board-right-a2 img,.pre-img-board-right-a3 img{
  display: block;
  height: 50%;
}

.pre-img-board-left-a1 img{
  position: absolute;
  left: 12%;
  top: 0%;
}

.pre-img-board-left-a0 img{
  position: absolute;
  left: 12%;
  top: 50%;
}

.pre-img-board-right-a2 img{
  position: absolute;
  right: 12%;
  top: 0%;
}

.pre-img-board-right-a3 img{
  position: absolute;
  right: 12%;
  top: 50%;
}

.pre-img-board-center-screen img{
  display: block;
  width: 37.5%;
  position: absolute;
  right: 22.5%;
  top: 28.5%;
}

.pre-img-board-center-screen div{
  display: none;
  width: 36.5%;
  position: absolute;
  right: 23%;
  top: 29.5%;
  height: 45%;
  background-color: #0099FF;
  z-index: 2;
}

.pre-img-board-center-screen .led-single{
  text-align: left;
  height: 100%;
  white-space:nowrap;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.pre-img-board-center-screen .led-four{
  text-align: left;
  height: 25%;
  margin-bottom: 0px;
  white-space:nowrap;
  display: none;
}



.pre-img-servo{
  position: relative;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  padding: 0px;
  width: 15%;
  padding-top:2%;
  padding-bottom: 2%;
  margin-top: -39px;
}

.pre-img-servo div{
  position: relative;
  margin: 8% 0;
}

.pre-img-servo div img{
  float: left;
}

.pre-img-servo div strong{
  float: left;
  margin-left: 10%;
}

.pre-img-board strong{
  color:  #c0c0c0;
}

.pre-img-servo strong{
  color:  #c0c0c0;
}

.pin_d2{
  position: absolute;
  left: 33%;
  top: -26%;
}

.pin_d11{
  position: absolute;
  right: 33%;
  top: -26%;
}

.pin_d10{
  position: absolute;
  right: 26%;
  top: 3%;
  z-index: 1;
}

.pin_a1{
  position: absolute;
  left: 2%;
  top: 21%;
}

.pin_a0{
  position: absolute;
  left: 2%;
  top: 70%;
}

.pin_a2{
  position: absolute;
  right: 2%;
  top: 21%;
}

.pin_a3{
  position: absolute;
  right: 2%;
  top: 70%;
}


.pre-img .container-fluid strong{
  display: none;
}


.stand-alone-1{
  margin-left: 30px;
  padding:  5px 0px;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
}

.stand-alone-1 div:first-child{
  margin-left: -10px;
}

.stand-alone-1 img{
  float: left;
}

.stand-alone-1 strong{
  float: left;
  margin-top: -30px;
  color:  #c0c0c0;
  margin-left: 32px
}

.stand-alone-2{
  margin-left: 30px;
  padding: 5px 0px;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
}


.stand-alone-2 div:first-child{
  margin-left: -10px;
}

.stand-alone-2 img{
  float: left;
}

.stand-alone-2 strong{
  float: left;
  margin-top: -30px;
  color:  #c0c0c0;
  margin-left: 32px
}

.small-block {
  height: 20%;
  border-radius: 6px;
  border: 1px solid #ddd;
  position: relative;
  margin-right: 0;
  margin-left:0;
  background-color: white;

}


.bgk{
  display: inline-block;
}

.bgk img {
  width: 100%;
  padding: 5px 0px 5px 0px;
}




.bgk-show-right {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-left: 4%;
  padding-top: 3%;
}

.bgk-show-right div {
  width: 60px;
  height: 60px;
  display: inline-block;
  text-align: center;
  margin: 4px;
  position: relative;
  cursor: pointer;
}

.bgk-show-right div img {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius:8px;
}







.small-show-right {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-left: 4%;
  padding-top: 3%;
}

.small-show-right div {
  background: url(../img/juxingkuang.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 60px;
  height: 60px;
  display: inline-block;
  text-align: center;
  margin: 4px;
  position: relative;
}
.small-show-right div.active {
  background: url(../img/juxingkuang_active.png);
}

.small-show-right div img {
  width: 50%;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/*.coordinate {*/
  /*font-size: 12px;*/
  /*color: #666;*/
  /*height: 16px;*/
  /*text-align: right;*/
/*}*/

.small-show-right div {
  overflow: hidden;
  cursor: pointer;
}

#content_blocks {
  float: right;
  height: 100%;
  width: 100%;
  position: relative;
  left: 0px;
  top: 0px;
}

#collaborators > img {
  margin-right: 5px;
  height: 30px;
  padding-bottom: 5px;
  width: 30px;
  border-radius: 3px;
}

/* Tabs */
#tabRow > td {
  border: 1px solid #ccc;
}

table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  border: none;
}

td {
  padding: 0;
  vertical-align: top;
}

#content_blocks #content_xml #content_arduino {
  visibility: hidden;
  margin: 10ex;
  padding: 10ex;
  position: absolute;
  direction: ltr;
}

#content_xml {
  resize: none;
  outline: none;
  border: none;
  font-family: monospace;
  overflow: scroll;
}

.Conbutright button {
  padding: 5px 10px;
  background-color: #fff;
  color: #2ca6e0;
  border: none;
  font-size: 14px;
  background-color: #f5f5f5;
}

.Conbutright button:active {
  /*         border: 1px solid blue !important; */
}

.Conbutright button:hover {
  background: #2ca6e0;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
}

.all {
  width: 100%;
  height: 800px;
  margin: 0 auto;
}

.all h2 {
  height: 36px;
  margin: 0px;
  width: 300px;
  float: left;
}

.all .Conbutleft span {
  width: 85px;
  height: 36px;
  background: #fff;
  line-height: 30px;
  text-align: center;
  float: left;
  margin-right: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  padding-right: 0px;
  margin-right: 0px;
  border: 1px solid #ddd;
}

.all a {
  height: 100%;
  display: none;
}

textarea {
  width: 100%;
  height: 100%;
}

.Conbutright {
  width: auto;
  float: right;
  margin: 0;
}

.scratchCategoryMenuItem {
  text-align: left;
}

.scratchCategoryMenuItem div:first-child {
  border-radius: 0;
  width: 0px !important;
  border: 2px solid;
  display: inline;
}

.scratchCategoryMenuItem div:last-child {
  display: inline;
  margin-left: 5px;
}

.scratchCategoryMenu {
  width: 250px;
  height: 150px;
  background-color: #f5f5f5;
}

.scratchCategoryMenuRow {
  width: 112px;
  display: inline-block;
  margin-left: 10px;
  font-size: 14px !important;
}

.blocklyToolboxDiv {
  height: auto !important;
  border: 1px solid #ddd;
}

.blocklyFlyout {
  transform: translate(0px, 0px) !important;
}

.blocklyFlyoutScrollbar {
  transform: translate(249.5px, 5.5px) !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.modal-header {
  border: 0px;
  text-align: center;
}

.modal-body p {
  padding-left: 66px;
  color: #333;
  font-size: 14px;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
  color: #fff !important;
  background-color: #2ca6e0;
}

li.board {
  position: relative;
}

li.board-connect {
  position: relative;
}

li.board-port {
  position: relative;
}
li.board-wifi {
  position: relative;
}

li.arduino-control-mode {
  position: relative;
}

i.glyphicon.glyphicon-ok {
  position: absolute;
  top: 6px;
  left: 2px;
}


.myscrollbar::-webkit-scrollbar {
	width: 10px;
  background-color: transparent;
}
.myscrollbar::-webkit-scrollbar-thumb:vertical {
	min-height: 16px;
	border: 3px solid rgba(0,0,0,0);
	border-radius: 8px;
	background-color: rgba(100,100,100,0.15);
	background-clip: padding-box
}
.myscrollbar::-webkit-scrollbar-thumb:vertical:hover,
.myscrollbar::-webkit-scrollbar-thumb:vertical:active {
	background-color: rgba(100,100,100,0.6)
}
.myscrollbar::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: transparent;
}


ul#images-list {
    list-style: none;
    margin: 0;
    padding: 10px 0px;
    overflow: hidden;
}
ul#images-list>li {
    float: left;
    margin: 0px -10px 10px 10px;
    padding-right: 10px;
}
ul#images-list>li>a {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-size: contain;/*cover*/
    background-position: 50% 50%;
    background-repeat: no-repeat;
    /*background-color: #dddddd;*/
}

/*--授权书启动页--*/
.attorney{
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    top: 0;
    left: 0;
}
.attorneyin{
   width: 1200px;
    height: auto;
    padding: 60px 100px;
    margin:0 auto;
    background: #fff;
    margin-top:50px;
    border-radius: 10px;
}
.atttitle{
   width: 100%;
    text-align: center;
    font-size: 16px;
    margin: 20px auto;
}
.attcent{
    background:#d8271c ;
    border: 1px solid #bc261e;
    color: #fff;
}
.attobut input{
    margin-right: 20px;
    width: 100px;
    height: 30px;
}
/*--历史记录--*/
.history{
   list-style: none;
    padding:10px 10px;
  width: 235px;
}
.history li{
    width: 100%;
}
.history li a{
    display: inline-block;
    text-align: left;
    color: #000;
   font-size: 14px;
}
.history li button{
  display: inline-block;
    width: 50px;
    border: none;
    background: #fff;

}
.historybtn{
    width: 77%;
    margin: 10px auto;
}
.historyyes{
    width: 100px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background: #d8271c;
    color: #fff;
    border: 1px solid #e91c12;
}
.deletehistoryyes{
    width: 100px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background: #d8271c;
    color: #fff;
    border: 1px solid #e91c12;
}
.historyno{
    width: 100px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background:#f2f1f1;
    color: #8a8888;
    border:1px solid #e3e1e1;
    margin-left:30px ;
}
.historymodal{
    text-align: center;
}
.historymodal .modal-body p{
   padding-left: 0;
}

#load_wait{
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 999;
  color: red;
}


.clear:after{
  display: block;
  clear: both;
  content: "..";
  visibility: hidden;
  height: 0;
}
.clear{
  zoom: 1;
}


/*ip人物的css  start*/
.ip-img-block {
  height: 35%;
  min-height: 300px;/*500px;*/
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  position: relative;
}
.ip-img-block .ip-pre-img-block {
  height: 100%;
}

.ip-pre-img-show {
  height: 100%;
  width: 100%;
  text-align: center;
}


.ip-pre-img {
    position: relative;
    height: 100%;
    overflow: hidden;
    background-size: cover;/*contain*/
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius:6px ;
}

.pre-control{
  position: relative;
  top: -30px;
  background-color: rgba(0,0,0,0.33);
  padding: 1%;
  border-radius: 0 0 6px 6px;
}

.ip-coordinates{
  position: absolute;
  right: 1%;
  color: white;
}


.ip-pre-img div[data-role="BlockAction"] {
  top: 20%;
  left: 35%;
  width: 68px;
  height: auto !important;
  background-color: transparent !important;
}


.ip-img-library-head{
  background: #F4F4F4;
  padding: 1% 3%;
}

.background-img-library-head{
  background: #F4F4F4;
  padding: 1% 3%;
}


/*ip人物的css  end*/
